//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.alarm.entity;

import java.util.Date;
import java.util.List;

public class AlarmDto {
    String id;
    Integer confirm;
    Date lastModifyTime;
    String lastModifyUserId;
    String confirmDesc;
    List<String> ids;

    public String getId() {
        return this.id;
    }

    public Integer getConfirm() {
        return this.confirm;
    }

    public Date getLastModifyTime() {
        return this.lastModifyTime;
    }

    public String getLastModifyUserId() {
        return this.lastModifyUserId;
    }

    public String getConfirmDesc() {
        return this.confirmDesc;
    }

    public List<String> getIds() {
        return this.ids;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setConfirm(Integer confirm) {
        this.confirm = confirm;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public void setLastModifyUserId(String lastModifyUserId) {
        this.lastModifyUserId = lastModifyUserId;
    }

    public void setConfirmDesc(String confirmDesc) {
        this.confirmDesc = confirmDesc;
    }

    public void setIds(List<String> ids) {
        this.ids = ids;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof AlarmDto)) {
            return false;
        } else {
            AlarmDto other = (AlarmDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$confirm = this.getConfirm();
                Object other$confirm = other.getConfirm();
                if (this$confirm == null) {
                    if (other$confirm != null) {
                        return false;
                    }
                } else if (!this$confirm.equals(other$confirm)) {
                    return false;
                }

                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$lastModifyTime = this.getLastModifyTime();
                Object other$lastModifyTime = other.getLastModifyTime();
                if (this$lastModifyTime == null) {
                    if (other$lastModifyTime != null) {
                        return false;
                    }
                } else if (!this$lastModifyTime.equals(other$lastModifyTime)) {
                    return false;
                }

                Object this$lastModifyUserId = this.getLastModifyUserId();
                Object other$lastModifyUserId = other.getLastModifyUserId();
                if (this$lastModifyUserId == null) {
                    if (other$lastModifyUserId != null) {
                        return false;
                    }
                } else if (!this$lastModifyUserId.equals(other$lastModifyUserId)) {
                    return false;
                }

                Object this$confirmDesc = this.getConfirmDesc();
                Object other$confirmDesc = other.getConfirmDesc();
                if (this$confirmDesc == null) {
                    if (other$confirmDesc != null) {
                        return false;
                    }
                } else if (!this$confirmDesc.equals(other$confirmDesc)) {
                    return false;
                }

                Object this$ids = this.getIds();
                Object other$ids = other.getIds();
                if (this$ids == null) {
                    if (other$ids != null) {
                        return false;
                    }
                } else if (!this$ids.equals(other$ids)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof AlarmDto;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $confirm = this.getConfirm();
        result = result * 59 + ($confirm == null ? 43 : $confirm.hashCode());
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $lastModifyTime = this.getLastModifyTime();
        result = result * 59 + ($lastModifyTime == null ? 43 : $lastModifyTime.hashCode());
        Object $lastModifyUserId = this.getLastModifyUserId();
        result = result * 59 + ($lastModifyUserId == null ? 43 : $lastModifyUserId.hashCode());
        Object $confirmDesc = this.getConfirmDesc();
        result = result * 59 + ($confirmDesc == null ? 43 : $confirmDesc.hashCode());
        Object $ids = this.getIds();
        result = result * 59 + ($ids == null ? 43 : $ids.hashCode());
        return result;
    }

    public String toString() {
        return "AlarmDto(id=" + this.getId() + ", confirm=" + this.getConfirm() + ", lastModifyTime=" + this.getLastModifyTime() + ", lastModifyUserId=" + this.getLastModifyUserId() + ", confirmDesc=" + this.getConfirmDesc() + ", ids=" + this.getIds() + ")";
    }
}
